package com.bupt.cad.mapper;

import com.bupt.cad.entity.Relationship;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface RelationshipDao {
    List<Relationship> getRelationships(int screenId);
    int insertRelationships(@Param("list") List<Relationship> list);
    int deleteRelationships(int screenId);
}
